.class Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;
.super Ljava/lang/Object;
.source "NearbyStationActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

.field private final synthetic val$near:Lcom/teewoo/app/bus/model/NearByBo;


# direct methods
.method constructor <init>(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;Lcom/teewoo/app/bus/model/NearByBo;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    iput-object p2, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->val$near:Lcom/teewoo/app/bus/model/NearByBo;

    .line 159
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 164
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;)Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity;->access$11(Lcom/teewoo/app/bus/ui/NearbyStationActivity;)Landroid/app/ProgressDialog;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 165
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;)Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity;->access$11(Lcom/teewoo/app/bus/ui/NearbyStationActivity;)Landroid/app/ProgressDialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    .line 167
    :cond_0
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;)Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity;->access$12(Lcom/teewoo/app/bus/ui/NearbyStationActivity;)Landroid/widget/TextView;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;

    move-result-object v2

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;)Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    move-result-object v2

    invoke-static {v2}, Lcom/teewoo/app/bus/ui/NearbyStationActivity;->access$2(Lcom/teewoo/app/bus/ui/NearbyStationActivity;)I

    move-result v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->val$near:Lcom/teewoo/app/bus/model/NearByBo;

    invoke-virtual {v2}, Lcom/teewoo/app/bus/model/NearByBo;->getTotal()I

    move-result v2

    div-int/lit8 v2, v2, 0x14

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\u9875"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    iget-object v3, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;

    move-result-object v3

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;)Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    move-result-object v3

    invoke-static {v3}, Lcom/teewoo/app/bus/ui/NearbyStationActivity;->access$2(Lcom/teewoo/app/bus/ui/NearbyStationActivity;)I

    move-result v3

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const/high16 v3, -0x1

    invoke-static {v1, v2, v3}, Lcom/teewoo/app/bus/util/Utils;->highlightKeyword(Ljava/lang/String;Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 169
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1$1;->this$2:Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5$1;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;->access$0(Lcom/teewoo/app/bus/ui/NearbyStationActivity$5;)Lcom/teewoo/app/bus/ui/NearbyStationActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity;->access$13(Lcom/teewoo/app/bus/ui/NearbyStationActivity;)Lcom/teewoo/app/bus/ui/NearbyStationActivity$MyAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/NearbyStationActivity$MyAdapter;->notifyDataSetChanged()V

    .line 170
    return-void
.end method
